package com.yuyaogc.lowcode.engine.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Tree {
    String labelName() default "name";
    String parent() default "";
    String primary() default "id";

    String label() default "";
    String columnName() default "";
    int length() default 255;

}
